<%@ taglib uri="/WEB-INF/vectrics.tld" prefix="vectrics" %>
<%@ taglib uri="/WEB-INF/hexacta.tld" prefix="hexacta" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<%@ page import="org.vectrics.company.web.struts.*" %>
<%@ page import="org.vectrics.hibernate.ThreadProperties"%>

<%
	String personId = request.getParameter("personId");
    String companyId = ThreadProperties.getDomain()
                                       .getPrimaryCompany().getId().toString();
%>


<table width="100%">
	<tr>
		<td valign="top" width="100%">
			<vectrics:userSummary personId="<%=personId%>" compact="true"/>
			<br>
			<vectrics:personInterviewListTag candidateId="<%=personId%>" width="100%"/>
		</td>
		<td valign="top" align="right">
			<table>
				<tr>
					<td>
						<form action="/hrs-intranet/admin/user/view.do" method="POST">
							<input type="hidden" name="userId" value="<%=personId%>">
							<vectrics:formButton elementId="person.view.btn" code="button.param" phraseCode="button.person.view" value="submit" name="submit"/>
						</form>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br />
<br />
<hexacta:AddInterview personId="<%=personId%>" companyId="<%=companyId%>"
 	permission="manage_candidate_items"/>

